package com.zzvcom.office.cfg;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Set;

@Component
@ConfigurationProperties(prefix = "simple")
@EnableConfigurationProperties
@Data
public class SimpleConfig {
    /**
     * 下载操作运行操作的域名白名单
     */
    private Set<String> allowFileDomainSuffix;
    /**
     * 允许操作的动作
     */
    private Set<String> allowAction;


    private Set<String> allowOp;
}
